//
//  SurveyViewController.h
//  Surveyer
//
//  Created by Qikun Guo on 13-7-25.
//  Copyright (c) 2013年 Tim. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <iAd/iAd.h>
#import "SurveyerStore.h"

@class dViewController;

@interface SurveyViewController : UIViewController<UIPageViewControllerDataSource, UIPageViewControllerDelegate, UIAlertViewDelegate>
{
    dViewController *beginVC, *endVC;
    NSInteger count;
    NSMutableOrderedSet *viewControllers;
}

@property (weak, nonatomic) IBOutlet UIView *surveyView;
@property (weak, nonatomic) IBOutlet UIProgressView *progressView;
@property (strong, nonatomic) UIPageViewController *pageController;
@property (strong, nonatomic) Survey *currentSurvey;

- (IBAction)undoAction:(id)sender;
- (void)currentItemCompleted:(dViewController *)sender;
- (void)end;
@end
